package com.hooya.fa.eu.biz.dao.mapper.eu.his;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hooya.fa.eu.biz.dao.entity.eu.his.TempZyjl;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description 1
 * @Author : Zongz
 * @Copyright Copyright (c) 豪雅集团
 * @Create 2024/3/19
 * @Version 1.0.0
 */
@Mapper
public interface HisTempZyjlMapper extends BaseMapper<TempZyjl> {

    void insertBatchSomeColumn(List<TempZyjl> list);

    @Select("select * from temp_zyjl where htrq > #{startDate} and htrq < #{endDate} and sl > 0")
    List<TempZyjl> getListByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);
}
